package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsAdmin;
import com.qf.pojo.DtsGoods;
import com.qf.vo.GoodsAllinone;

import java.util.Map;

/**
 * @author lixu
 */
public interface DtsGoodsService {
    Long findCount();

    IPage<DtsGoods> list(Integer page, Integer limit, String sort, String order, DtsAdmin dtsAdmin);

    DtsGoods findGoodsById(Integer id);

    Map<String, Object> findDetailByGoodId(Integer id);

    Map<String, Object> catAndBrand();

    void update(GoodsAllinone goodsAllinone);
}
